package com.weblog.pojo.user;

/**
 *  用户登录的POJO实体类
 * @author zhw
 *
 */
public class UserLogin {
	
	private int userId;// 用户编号
	private String userName;// 用户姓名
	private String userPwd;// 用户密码
	private int rememberMe = 0; //记住用户名密码(不选中默认)
	private String kaptcha; //用户验证码
	
	public UserLogin() {
		super();
	}
	
	public UserLogin(int userId, String userName, String userPwd, int rememberMe,String kaptcha) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPwd = userPwd;
		this.rememberMe = rememberMe;
		this.kaptcha=kaptcha;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public int getRememberMe() {
		return rememberMe;
	}
	public void setRememberMe(int rememberMe) {
		this.rememberMe = rememberMe;
	}

	public String getKaptcha() {
		return kaptcha;
	}

	public void setKaptcha(String kaptcha) {
		this.kaptcha = kaptcha;
	}

	@Override
	public String toString() {
		return "UserLogin [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", rememberMe="
				+ rememberMe + ", kaptcha=" + kaptcha + "]";
	}

	
	
}
